<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: TIM_Flags</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">TIM_Flags<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___b_a_s_e_t_i_m.html">BASETIM</a><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo;  &#124; <a class="el" href="group___t_i_m.html">TIM</a> &raquo; <a class="el" href="group___t_i_m___exported__constants.html">TIM_Exported_constants</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga97eba66f792c88e08131bd0d2a0e530d"><td class="memItemLeft" align="right" valign="top"><a id="ga97eba66f792c88e08131bd0d2a0e530d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_Update</b>&#160;&#160;&#160;((uint16_t)0x0001)</td></tr>
<tr class="separator:ga97eba66f792c88e08131bd0d2a0e530d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7eb8be054b9bd217a9abb1c8687cc55"><td class="memItemLeft" align="right" valign="top"><a id="gaa7eb8be054b9bd217a9abb1c8687cc55"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC1</b>&#160;&#160;&#160;((uint16_t)0x0002)</td></tr>
<tr class="separator:gaa7eb8be054b9bd217a9abb1c8687cc55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cae242f1c51b31839ffc5bc007c82a7"><td class="memItemLeft" align="right" valign="top"><a id="ga9cae242f1c51b31839ffc5bc007c82a7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC2</b>&#160;&#160;&#160;((uint16_t)0x0004)</td></tr>
<tr class="separator:ga9cae242f1c51b31839ffc5bc007c82a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga052c380f922219659810e4fceb574a7c"><td class="memItemLeft" align="right" valign="top"><a id="ga052c380f922219659810e4fceb574a7c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC3</b>&#160;&#160;&#160;((uint16_t)0x0008)</td></tr>
<tr class="separator:ga052c380f922219659810e4fceb574a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd0dc57b56941f8b8250d66e289542db"><td class="memItemLeft" align="right" valign="top"><a id="gafd0dc57b56941f8b8250d66e289542db"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC4</b>&#160;&#160;&#160;((uint16_t)0x0010)</td></tr>
<tr class="separator:gafd0dc57b56941f8b8250d66e289542db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad454d70205ce5bbf3b3c0e7e43d6df62"><td class="memItemLeft" align="right" valign="top"><a id="gad454d70205ce5bbf3b3c0e7e43d6df62"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_COM</b>&#160;&#160;&#160;((uint16_t)0x0020)</td></tr>
<tr class="separator:gad454d70205ce5bbf3b3c0e7e43d6df62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeca2f17eea738dbec7eee8ecbe442814"><td class="memItemLeft" align="right" valign="top"><a id="gaeca2f17eea738dbec7eee8ecbe442814"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_Trigger</b>&#160;&#160;&#160;((uint16_t)0x0040)</td></tr>
<tr class="separator:gaeca2f17eea738dbec7eee8ecbe442814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga166571a1d5ca2bfca5d923eaa22f6deb"><td class="memItemLeft" align="right" valign="top"><a id="ga166571a1d5ca2bfca5d923eaa22f6deb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_Break</b>&#160;&#160;&#160;((uint16_t)0x0080)</td></tr>
<tr class="separator:ga166571a1d5ca2bfca5d923eaa22f6deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38dfb7d1ed00af77d70bc3be28500108"><td class="memItemLeft" align="right" valign="top"><a id="ga38dfb7d1ed00af77d70bc3be28500108"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC1OF</b>&#160;&#160;&#160;((uint16_t)0x0200)</td></tr>
<tr class="separator:ga38dfb7d1ed00af77d70bc3be28500108"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4df0c71d3e695c214d49802942e04590"><td class="memItemLeft" align="right" valign="top"><a id="ga4df0c71d3e695c214d49802942e04590"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC2OF</b>&#160;&#160;&#160;((uint16_t)0x0400)</td></tr>
<tr class="separator:ga4df0c71d3e695c214d49802942e04590"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac81f24eaffdf83c2db9d2e6078a00919"><td class="memItemLeft" align="right" valign="top"><a id="gac81f24eaffdf83c2db9d2e6078a00919"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC3OF</b>&#160;&#160;&#160;((uint16_t)0x0800)</td></tr>
<tr class="separator:gac81f24eaffdf83c2db9d2e6078a00919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc8b04654766d98ba2c6fed601895a20"><td class="memItemLeft" align="right" valign="top"><a id="gafc8b04654766d98ba2c6fed601895a20"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TIM_FLAG_CC4OF</b>&#160;&#160;&#160;((uint16_t)0x1000)</td></tr>
<tr class="separator:gafc8b04654766d98ba2c6fed601895a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6406de8131ae53ee29740c3e8627b098"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_TIM_GET_FLAG</b>(FLAG)</td></tr>
<tr class="separator:ga6406de8131ae53ee29740c3e8627b098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae60a1b5900de8354b2a4f017b2bd4f94"><td class="memItemLeft" align="right" valign="top"><a id="gae60a1b5900de8354b2a4f017b2bd4f94"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_TIM_CLEAR_FLAG</b>(TIM_FLAG)&#160;&#160;&#160;((((TIM_FLAG) &amp; (uint16_t)0xE100) == 0x0000) &amp;&amp; ((TIM_FLAG) != 0x0000))</td></tr>
<tr class="separator:gae60a1b5900de8354b2a4f017b2bd4f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga6406de8131ae53ee29740c3e8627b098"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6406de8131ae53ee29740c3e8627b098">&#9670;&nbsp;</a></span>IS_TIM_GET_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_TIM_GET_FLAG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FLAG</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((FLAG) == TIM_FLAG_Update) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC1) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC2) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC3) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC4) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_COM) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_Trigger) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_Break) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC1OF) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC2OF) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC3OF) || \</div><div class="line">                               ((FLAG) == TIM_FLAG_CC4OF))</div></div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
